package mysql

import "gorm.io/gorm"

type Good struct {
	gorm.Model
	Userid   int     `gorm:"type:int" json:"userid"`
	Name     string  `gorm:"type:varchar(30)" json:"name"`
	Image    string  `gorm:"type:varchar(200)" json:"image"`
	Quantity int     `gorm:"type:int" json:"quantity"`
	Price    float64 `gorm:"type:decimal(10,2)" json:"price"`
}
